package vip.xumy.core.test;

import java.util.Arrays;

import org.junit.Test;

import vip.xumy.core.utils.LocationUtil;

/**	All rights reserved
 *	author:mengyxu
 *	date:2020年7月9日
 */

public class LocationUtilTester {
	
	@Test
	public void test1() {
		long start = System.currentTimeMillis();
		String x = "114.06444999999997";
	    String y = "22.507108";
		String[] arr = LocationUtil.wgs84tobd09(x, y);
		System.out.println(Arrays.toString(arr));
		System.out.println(System.currentTimeMillis() - start);
	}
	
	@Test
	public void test2() {
		long start = System.currentTimeMillis();
		String x = "120";
		String y = "24";
		String[] arr = LocationUtil.wgs84tobd09(x, y);
		System.out.println(Arrays.toString(arr));
		System.out.println(System.currentTimeMillis() - start);
	}

}
